package com.one.common.manager.guide;

import android.view.Gravity;
import android.view.View;

/**
 * Author: zhulunjun
 * Email: zhulunjun@qq.com
 * CreateDate: 2019/3/6 10:53
 * Description：
 **/
public class GuideBean {
    private int layoutRes1 = -1;
    private int gravity1 = Gravity.BOTTOM;
    private int layoutRes2 = -1;
    private int gravity2 = Gravity.BOTTOM;
    private int clickRes;
    private View.OnClickListener listener;
    private String tag;

    private boolean isFinish = false;

    public GuideBean(int layoutRes1, int gravity1, int clickRes, View.OnClickListener listener, String tag, boolean isFinish) {
        this.layoutRes1 = layoutRes1;
        this.gravity1 = gravity1;
        this.clickRes = clickRes;
        this.listener = listener;
        this.tag = tag;
        this.isFinish = isFinish;
    }

    public GuideBean(int layoutRes1, int gravity1, int layoutRes2, int gravity2, int clickRes, View.OnClickListener listener, String tag, boolean isFinish) {
        this.layoutRes1 = layoutRes1;
        this.gravity1 = gravity1;
        this.layoutRes2 = layoutRes2;
        this.gravity2 = gravity2;
        this.clickRes = clickRes;
        this.listener = listener;
        this.tag = tag;
        this.isFinish = isFinish;
    }

    public int getGravity1() {
        return gravity1;
    }

    public void setGravity1(int gravity1) {
        this.gravity1 = gravity1;
    }

    public int getGravity2() {
        return gravity2;
    }

    public void setGravity2(int gravity2) {
        this.gravity2 = gravity2;
    }

    public int getLayoutRes1() {
        return layoutRes1;
    }

    public void setLayoutRes1(int layoutRes1) {
        this.layoutRes1 = layoutRes1;
    }

    public int getLayoutRes2() {
        return layoutRes2;
    }

    public void setLayoutRes2(int layoutRes2) {
        this.layoutRes2 = layoutRes2;
    }

    public int getClickRes() {
        return clickRes;
    }

    public void setClickRes(int clickRes) {
        this.clickRes = clickRes;
    }

    public View.OnClickListener getListener() {
        return listener;
    }

    public void setListener(View.OnClickListener listener) {
        this.listener = listener;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public boolean isFinish() {
        return isFinish;
    }

    public void setFinish(boolean finish) {
        isFinish = finish;
    }
}
